package com.sky.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 学员班级关联信息
 *
 * @author zcyang
 * @date 2024-04-02 11:16:08
 */
@Data
@TableName("read_club_user_class")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "学员班级关联信息")
public class ReadClubUserClassEntity extends Model<ReadClubUserClassEntity> {

 
	/**
	* id
	*/
    @TableId(type = IdType.AUTO)
    @Schema(description="id")
    private Integer id;

	/**
	* 学员id
	*/
    @Schema(description="学员id")
    private Integer userId;

	/**
	* 班级id
	*/
    @Schema(description="班级id")
    private Integer classId;

	@Schema(description = "加入班级时间")
	private Long createTime;
}